package com.smxy.mall.utils;

import java.util.regex.Pattern;

public class Common {
    public static Boolean isId(String str){
        Pattern pattern = Pattern.compile("[1-9]*");
        return pattern.matcher(str).matches();
    }
}
